package study.day4.t2;

public class T2 {
    public static void main(String[] args) {
        Movie movie=new Movie();
        movie.name="你的名字";
        movie.director="新海诚";
        String[] actors=new String[5];
        actors[0]="三叶";
        actors[1]="泷";
        actors[2]="王晓婷";
        actors[3]="四爷";
        actors[4]="天道";
        movie.initActor(actors);
        movie.show();
        System.out.println("=================================");
        Movie movie2=new Movie();
        movie2.name="天气之子";
        movie2.director="新海诚";
        String[] actors2=new String[3];
        actors2[0]="阳菜";
        actors2[1]="sc";
        actors2[2]="无";
        movie2.initActor(actors2);
        movie2.show();
    }
}
